
#ifndef _MAINWINDOW_H_
#define _MAINWINDOW_H_

#include <BLineEdit>
#include <BTextEdit>
#include <BLabel>
#include <BCheckBox>
#include <BButton>
#include <BScrollArea>
#include <BScrollWidget>
#include <BListWidget>
#include <BListItem>
#include <BProgressBar>
#include <BComboBox>
#include <BTableWidget>
#include <BTableItem>
#include <BScrollWidget>
#include <BScrollBar>
#include <BTreeWidget>
#include <BColorDialog>
#include <BStyle>
#include <BGridLayout>
#include <BHBoxLayout>
#include <BVBoxLayout>
#include <BGroupBox>
#include <BXmlNode>
#include <BMainWindow>

using namespace BWE;

class MainWindow : public BMainWindow
{
public:
	MainWindow();
	~MainWindow();

protected:
	BTreeItem* createTreeItem(BXmlNode* node);

protected:
	void procButton0Clicked();
	void procButton1Clicked();
	void procLoadAndShowHtml(BObject* object, const BValue& value);

private:
	BColorDialog*	_colorDialog;
	BLineEdit*		_htmlPathEdit;
	BButton*		_htmlButton;
	BTreeWidget*	_htmlTreeWidget;
};

#endif